<!DOCTYPE html>
<html>
  <head>
      <meta charset="UTF-8">
      <title>托盘方法</title>
      <script src="event.js"></script>

  </head>
  <body >
  <h1>托盘方法</h1>
  <textarea id="log" style="width: 500px;height:400px"></textarea>
  <button onclick="onClick_AddTray()">添加托盘图标</button>
  <p/>
  <button onclick="onClick_SetIcon()">设置托盘图标</button>
  <p/>
  <button onclick="onClick_SetTitle()">设置托盘标题（Only Mac）</button>
  <p/>
  <button onclick="onClick_SetPressedImage()">设置托盘按下显示的图标（Only Mac）</button>
  <p/>
  <button onclick="onClick_SetTooltip()">设置托盘的提示文本</button>
  <p/>
  <button onclick="onClick_RemoveTray()">移除托盘图标</button>
  <p/>
  <button onclick="onClick_DisplayBalloon()">显示气泡（Only Windows）</button>
  </body>
</html>
